/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.ins.entity;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 检验报告书-数据Entity
 * @author fanqinglong
 * @version 2017-11-29
 */
public class InsDataLink extends DataEntity<InsDataLink> {
	
	private static final long serialVersionUID = 1L;
	private InsTable table;     // 数据表
	private InsField field;     // 字段
	private InsData data;       // 数据
	private Integer sort;		// 排序
	private String value;        // 值
	private String overRange;   // 是否超出数值范围
	
	public InsDataLink() {
		super();
	}

	public InsDataLink(String id){
		super(id);
	}

	public InsTable getTable() {
		return table;
	}

	public void setTable(InsTable table) {
		this.table = table;
	}

	public InsField getField() {
		return field;
	}

	public void setField(InsField field) {
		this.field = field;
	}


	public String getValue() {
		return value;
	}

	public void setValue(String data) {
		this.value = data;
	}

	@JsonIgnore
	public InsData getData() {
		return data;
	}

	public void setData(InsData data) {
		this.data = data;
	}

	public Integer getSort() {
		return sort;
	}

	public void setSort(Integer sort) {
		this.sort = sort;
	}

	public String getOverRange() {
		return overRange;
	}

	public void setOverRange(String overRange) {
		this.overRange = overRange;
	}
}